package com.huawei.appmarket.framework.widget;

import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import com.huawei.appgallery.foundation.card.base.bean.KeywordInfo;
import com.huawei.secure.android.common.intent.SafeBroadcastReceiver;

class FixedSearchView$2 extends SafeBroadcastReceiver {
    final /* synthetic */ FixedSearchView ˎ;

    FixedSearchView$2(FixedSearchView fixedSearchView) {
        this.ˎ = fixedSearchView;
    }

    public void onReceiveMsg(Context context, Intent intent) {
        if (FixedSearchView.ˎ().equals(intent.getAction())) {
            Bundle extras = intent.getExtras();
            if (extras != null && (FixedSearchView.ˎ(this.ˎ) instanceof Activity)) {
                int i = extras.getInt("TaskId", -1);
                if (i > 0 && i == ((Activity) FixedSearchView.ˎ(this.ˎ)).getTaskId()) {
                    this.ˎ.ˏ.sendMessage(this.ˎ.ˏ.obtainMessage(1, (KeywordInfo) extras.getParcelable("keyWord")));
                }
            }
        }
    }
}
